﻿using System;
using DotNetNuke.Entities.Portals;
using DotNetNuke.Entities.Users;

namespace YourCompany.Modules.Cafeteria
{
	public class Announcement
	{
		//private vars exposed thro the
		//properties
		private int _NewsID;
		private DateTime _Time;
		private string _Title;
		private string _Detail;

		#region properties

		public int NewsID
		{
			get { return _NewsID; }
			set { _NewsID = value; }
		}

		public DateTime Time
		{
			get { return _Time; }
			set { _Time = value; }
		}

		public string Title
		{
			get { return _Title; }
			set { _Title = value; }
		}

		public string Detail
		{
			get { return _Detail; }
			set { _Detail = value; }
		}

		#endregion
	}
}
